package no.uib.hplims.views.orders;

import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Window;

public class AddSequenceWindow extends Window {

	private static final long serialVersionUID = 980024461056482392L;

	OrderEditor orderEditor = null;

	private HorizontalLayout layout = new HorizontalLayout();

	public AddSequenceWindow(OrderEditor orderEditor) {
		super("Add Sequences");
		center();
		this.setModal(true);
		this.setHeight("530px");
		this.setWidth("800px");

		this.orderEditor = orderEditor;

		layout.setSpacing(true);

		layout.addComponent(orderEditor.getForm());
		layout.addComponent(orderEditor.getErrorDisplayer());

		addComponent(layout);

	}
}
